<?php
class Trash extends CWidget{
	public $news_id;
	public $trash_num;
	public $action;
	public function init(){
		if(!empty($this->action))
			echo "<a class='cai' href='javascript:'href='javascript:;'>踩($this->trash_num)</a>";
		else
			echo "<a href='javascript:' class='cai trash-hover' href='javascript:;' id='tr$this->news_id'>踩($this->trash_num)</a>";
		parent::init();
	}
}